package com.sxhalo.fsms.domain;

import java.util.Date;
import java.util.List;

public class UserPatrolRecord {
	/**
	 * 巡检记录id
	 */
	private Integer id;

	/**
	 * 巡检任务id
	 */
	private Integer jobId;

	/**
	 * 巡检时间
	 */
	private Date patrolTime;

	/**
	 * 巡检人
	 */
	private Integer patrolUser;

	/**
	 * 任务名称
	 */
	private String jobName;

	/**
	 * 领导是否确认
	 */
	private Integer isConform;

	/**
	 * 处理意见
	 */
	private String comment;

	/**
	 * 值班领导id
	 */
	private Integer dutyLeaderId;

	/**
	 * 值班领导姓名
	 */
	private String dutyLeaderName;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 更新时间
	 */
	private Date updateTime;
	
	private String userName;
	
	private List<UserPatrolItemRecord> items;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getJobId() {
		return jobId;
	}

	public void setJobId(Integer jobId) {
		this.jobId = jobId;
	}

	public Date getPatrolTime() {
		return patrolTime;
	}

	public void setPatrolTime(Date patrolTime) {
		this.patrolTime = patrolTime;
	}

	public Integer getPatrolUser() {
		return patrolUser;
	}

	public void setPatrolUser(Integer patrolUser) {
		this.patrolUser = patrolUser;
	}

	public String getJobName() {
		return jobName;
	}

	public void setJobName(String jobName) {
		this.jobName = jobName == null ? null : jobName.trim();
	}

	public Integer getIsConform() {
		return isConform;
	}

	public void setIsConform(Integer isConform) {
		this.isConform = isConform;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment == null ? null : comment.trim();
	}

	public Integer getDutyLeaderId() {
		return dutyLeaderId;
	}

	public void setDutyLeaderId(Integer dutyLeaderId) {
		this.dutyLeaderId = dutyLeaderId;
	}

	public String getDutyLeaderName() {
		return dutyLeaderName;
	}

	public void setDutyLeaderName(String dutyLeaderName) {
		this.dutyLeaderName = dutyLeaderName == null ? null : dutyLeaderName.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public List<UserPatrolItemRecord> getItems() {
		return items;
	}

	public void setItems(List<UserPatrolItemRecord> items) {
		this.items = items;
	}
}